home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 102 / CD-ROM 102.iso / aplic / 2sync / 2SyncSetup.exe / modules / mt / panel / scripts / DefineButton2_113 / BUTTONCONDACTION on(release).as
Encoding:
Text File  |  2002-03-20  |  641 b   |  22 lines

  1. on(release){
  2.    if(eval("../:type") == "2")
  3.    {
  4.       set("../../../recurrence/controller:end_String","none");
  5.       set("../../../recurrence/controller:end_day","0");
  6.       set("../../../recurrence/controller:end_month","0");
  7.       set("../../../recurrence/controller:end_year","0");
  8.       call("../../../recurrence/summary/logic:buildSummary");
  9.    }
  10.    else
  11.    {
  12.       set("../../../main_form:start_day","00");
  13.       set("../../../main_form:start_month","00");
  14.       set("../../../main_form:start_year","0000");
  15.       call("../../../main_form/logic:datecheck");
  16.    }
  17.    tellTarget("../../")
  18.    {
  19.       play();
  20.    }
  21. }
  22.